-- GENERATED SPELL FOR [Southsea Pirate] --


function spell0_7855(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7855', 662, 1)
end

function Sorts_7855(pUnit, Event)
local choix_sorts_7855 = math.random(0, 0)
if choix_sorts_7855 == 0 then
pUnit:RegisterEvent('spell0_7855', 1, 1)
end
end

function mob7855_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7855', math.random(1500, 3000), 1)
end

function mob7855_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7855_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7855_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7855, 1, 'mob7855_Action')
RegisterUnitEvent(7855, 2, 'mob7855_Leave')
RegisterUnitEvent(7855, 3, 'mob7855_Kill')
RegisterUnitEvent(7855, 4, 'mob7855_Die')
